package spsu.cs6903.assignment3;

public class Space {
	
	public static final int EMPTY = 0;  
    public static final int CROSS = 1; // cross
    public static final int CIRCLE = 2; // circle
    
    private String name;
    private int value;
    private boolean isEmpty;
    private int button;
    
    
    public Space(){
    	this.name = null;
    	this.value = EMPTY;
    	this.isEmpty = true;
    	this.button = 0;
    }

    public Space(String n, int b){
    	this.name = n;
    	this.value = EMPTY;
    	this.isEmpty = true;
    	this.button = b;
    }

	public int getValue() {
		return value;
	}

	public int getButton() {
		return button;
	}

	public void setButton(int button) {
		this.button = button;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public boolean isEmpty() {
		return isEmpty;
	}

	public void setEmpty(boolean isEmpty) {
		this.isEmpty = isEmpty;
	}
    

}
